The following table provides summary descriptions of the AutoLISP object-handling functions.
Object-handling functions
Function
Description
(entdel ename)
Deletes objects (entities) or restores previously deleted objects
(entget ename [applist])
Retrieves an object's definition data
(entlast)
Returns the name of the last nondeleted main object in the drawing
(entmake [elist])
Creates a new entity (graphical object) in the drawing
(entmakex [elist])
Makes a new object, gives it a handle and entity name (but does not assign an owner), and then returns the new entity name
(entmod elist)
Modifies the definition data of an object
(entnext [ename])
Returns the name of the next object in the drawing
(entupd ename)
Updates the screen image of an object
(handent handle)
Returns an object name based on its handle
(vlax-dump-object obj)
Lists an object's methods and properties
(vlax-erased-p obj)
Determines whether an object was erased
(vlax-get-acad-object)
Retrieves the top-level AutoCAD application object for the current AutoCAD session
(vlax-method-applicable-p obj method)
Determines whether an object supports a particular method
(vlax-object-released-p obj)
Determines whether an object has been released
(vlax-read-enabled-p obj)
Determines whether an object can be read
(vlax-release-object obj)
Releases a drawing object
(vlax-typeinfo-available-p obj)
Determines whether type library information is present for the specified type of object
(vlax-write-enabled-p obj)
Determines whether an AutoCAD drawing object can be modified